﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace eLuk.CommandEngine
{
	public delegate void ChannelLinkConnected( object sender, ChannelLinkConnectedEventArgs e );
	public delegate void ChannelLinkResponseReceived( object sender, ChannelLinkResponseReceivedEventArgs e );
	public delegate void ChannelLinkWriteCompleted( object sender, ChannelLinkWriteCompletedEventArgs e );
	public delegate void ChannelLinkLoadCompleted( object sender, ChannelLinkLoadCompletedEventArgs e );

	public class ChannelLinkConnectedEventArgs
	{
		public bool Status { get; set; }
	}

	public class ChannelLinkFailedEventArgs
	{

	}
	
	public class ChannelLinkResponseReceivedEventArgs
	{

	}

	public class ChannelLinkWriteCompletedEventArgs
	{
		public IMAPCommand Command { get; set; }
		public string Response { get; set; }
		public bool Status { get; set; }
	}

	public class ChannelLinkLoadCompletedEventArgs
	{
		public IMAPCommand Command { get; set; }
		public string Response { get; set; }
		public bool Status { get; set; }
	}

}
